package com.ruoyi.zsix.mapper.taskAssigneeMapper;

import com.ruoyi.zsix.domain.taskAssignee.OvProcessInstance;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface OvProcessInstanceMapper {
    /**
     * 根据key获取最新版本的processins
     * @param key
     * @return
     */
    OvProcessInstance getProcessInsLastVersion(String key);
    /**
     * 根据deploymentid获取processins
     * @param deploymentid
     * @return
     */
    OvProcessInstance getProcessInsByDeployId(String deploymentid);
}
